package com.ypy.event;

@FunctionalInterface
public interface ApplicationEventPublisher {
    void publishEvent(Object event);


    default void publish(ApplicationEvent event) {
        publishEvent((Object) event);
    }

}
